"""
Script to generate the installer for coopr.plugins.neos
"""

from setuptools import setup, find_packages

#print "HERE",packages

classifiers = """\
Development Status :: 3 - Alpha
Intended Audience :: End Users/Desktop
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Natural Language :: English
Operating System :: Microsoft :: Windows
Operating System :: Unix
Programming Language :: Python
Topic :: Scientific/Engineering :: Mathematics
Topic :: Software Development :: Libraries :: Python Modules
"""

import coopr.plugins.neos
doclines = coopr.plugins.neos.__doc__.split("\n")

setup(name = "coopr.plugins.neos",
      version = coopr.plugins.neos.__version__,
      maintainer = coopr.plugins.neos.__maintainer__,
      maintainer_email = coopr.plugins.neos.__maintainer_email__,
      url = coopr.plugins.neos.__url__,
      license = coopr.plugins.neos.__license__,
      platforms = ["any"],
      description = doclines[0],
      classifiers = filter(None, classifiers.split("\n")),
      long_description = "\n".join(doclines[2:]),
      packages = ['coopr', 'coopr.plugins', 'coopr.plugins.neos'],
      keywords = ['optimization'],
      namespace_packages=['coopr', 'coopr.plugins'],
      entry_points = {
        'coopr.opt': [
            'solvermanager.neos = coopr.plugins.neos.kestrel_plugin',
            'solver.neos_cplex = coopr.plugins.neos.NEOS_CPLEX',
        ]
      },
      install_requires=['Coopr>=1.2']
      )

